{# One site in the drawer: its counts, its pages (all, or the failed), its export packed into the object store, and a fetch of the assets its pages name that the store lacks; the Crawl section follows both. #} {% from "components/macros/layout.html" import card, dialog_title, facts %} {% from "components/macros/form.html" import action %}
{{ dialog_title(site.site) }}
Pages {% if site.failed %}Failed{% endif %} {{ action("Export", 'hx-post="' ~ urls.export ~ '" hx-swap="none" data-write', vals={"site": site.site}) }} {{ action("Assets", 'hx-post="' ~ urls.assets ~ '" hx-swap="none" data-write', "primary", vals={"site": site.site}) }}
{% call card("Details", id="crawler-site-facts") %}{{ facts(details) }}{% endcall %}